﻿using System;

namespace CoreModel.Residency
{
    public class BasicResident : IResident
    {

        public string Name { get; set; }
        public string Surname { get; set; }

        public DateTime BirthDay { get; set; }

        /// <summary>
        /// Returns full years since B-day
        /// </summary>
        /// <returns></returns>
        public int GetAgeFullYears()
        {
            return DateTime.Now.Year - BirthDay.Year;
        }
    }
}
